package com.entity;

import java.io.Serializable;
import java.util.List;

public class Permissions implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3688778952950470898L;
	private int id;
	private String permission;
	private String description;
	private int pid;
	private int roleId;

	// 二级
	private List<Permissions> subPermis;

	public List<Permissions> getSubPermis() {
		return subPermis;
	}

	public void setSubPermis(List<Permissions> subPermis) {
		this.subPermis = subPermis;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPermission() {
		return permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}


}
